
using Application.Abstractions.Data;
using NSubstitute;
using SharedKernel;

namespace Application.UnitTests;

public abstract class TestBase
{
    protected readonly IUnitOfWork UnitOfWork = Substitute.For<IUnitOfWork>();
    protected readonly IDateTimeProvider DateTimeProvider = Substitute.For<IDateTimeProvider>();

    protected TestBase()
    {
        DateTimeProvider.UtcNow.Returns(DateTime.UtcNow);
    }
    
}
